<?php
class HelpController extends AppController{

	var $uses = null;
	
	function beforeFilter(){
		parent::beforeFilter();
	}

	public function index($controller=null, $action=null){
		$fileName = $controller.'_'.$action;
		$file = new File(VIEWS.'help'.DS.$fileName.'.ctp');
		if($file->exists()){
			$this->render($fileName);
		}else{
			$this->render('no_help');
		}
		
	}


}
?>
